package org.backend.canteenbackend.service;

import org.backend.canteenbackend.common.CommonResponse;
import org.backend.canteenbackend.entity.Account;
import org.backend.canteenbackend.vo.AccountVO;

public interface AccountService {
    CommonResponse<Account> login(String username, String password);
    CommonResponse<Object> register(AccountVO accountVO);
    CommonResponse<AccountVO> viewInformation(String username);
    CommonResponse<Object> editAccount(AccountVO accountVO);
}